<template>
  <!--pages/index/component/foodAd/foodAd.wxml-->
  <div class="content">
    <div class="top_content">
      <div class="top_left_content">
        <span class="top_left_title">头条</span>
        <span class="top_left_log_text">精选菜单</span>
        <div class="top_left_line"></div>
        <span class="top_left_subTitle">不用会做菜，一秒成大厨</span>
      </div>
      <img src="http://rzico.oss-cn-shenzhen.aliyuncs.com/dinnerBar/gengduo.png" style="width:6.5px;height:11.5px"></img>
    </div>
    <img  src="http://rzico.oss-cn-shenzhen.aliyuncs.com/dinnerBar/foodad.png" style="width:335px;height:100%;margin-top:10px">
    </img>
  </div>
</template>

<script>
  export default {
    name: 'foodAd'
  }
</script>

<style scoped>
  /* pages/index/component/foodAd/foodAd.wxss */
  .content {
    padding: 15px 10px 15px 10px;
    margin-top: 5.5px;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .top_left_content {
    display: flex;
    align-items: center;
  }

  .top_left_title {
    font-size: 13px;
    font-family: hzgb;
    font-weight: 800;
    font-style: italic;
    color: #A92B23;
    line-height: 13px;
    /* background: linear-gradient(270deg, #9F0900 0%, #D60404 100%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */

  }

  .top_left_log_text {
    font-size: 12px;
    font-weight: 400;
    color: #A92B23;
    padding: 2.5px;
    margin-left: 5px;
    border-radius: 3.5px;
    border: 1px solid #A92B23;
    line-height: 15px;
  }

  .top_left_line {
    width: 1px;
    height: 11.5px;
    margin-left: 5.5px;
    margin-right: 5.5px;
    background: #999999;
    border-radius: 1px;

  }


  .top_left_subTitle{
    overflow: hidden;
    height: 12px;
    text-overflow: ellipsis;
    width: 142.5px;
    white-space: nowrap;
    font-size: 12px;
    font-family: SourceHanSansCN;
    font-weight: 400;
    color: #333333;
    line-height: 12px;
    /* line-height: 24px; */
  }
</style>
